package com.lankystar.logistucs.spring.service;

import java.util.List;
import java.util.Map;

import com.lankystar.logistucs.spring.entity.Address;

public interface AddressService {

	Address addAddress(Address record);
	
	/**
	 * 登陆者添加的地址，通过userId查找所有常用地址
	 * @param userId
	 * @return
	 */
	List<Map<String, Object>> queryAddresslistByuserId(int userId);
	
}
